package com.roin.learn.activiti.entity;

public class ResourceResult {
    private boolean success=false;
    private String message;
    private Object data;

    public ResourceResult() {
    }

    public boolean isSuccess() {
        return success;
    }

    public ResourceResult setSuccess(boolean success) {
        this.success = success;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public ResourceResult setMessage(String message) {
        this.message = message;
        return this;
    }

    public Object getData() {
        return data;
    }

    public ResourceResult setData(Object data) {
        this.data = data;
        return this;
    }
    public ResourceResult success() {
        this.success = true;
        return this;
    }

}
